package com.quick.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;
@Configurable
@Data
@ConfigurationProperties(prefix = QuickFtpProperties.PREFIX, ignoreUnknownFields = false)
@Component
public class QuickFtpProperties {
	public static final String PREFIX = "spring.quick.ftp";
	
	private String host = "127.0.0.1";
	private Integer port = 21;
	private String userName;
	private String password;
	private String basePath = "quick/";
	private String httpPath = "http://127.0.0.1/";

}
